import random

def rand():
    i = 1
    while i <= 100:
        ran = random.randint(1, 1000)
        if ran % 2 == 0:
            print ('# %i =  %i' % (i , ran))
            i = i + 1

rand()